﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace APILocawebGateway.REDECARD
{
    public interface ITransacaoOrigem
    {
        string ToString();
    }


    public sealed class AVISTA : ITransacaoOrigem
    {
        public override string ToString()
        {
            return "04";
        }
    }

    public sealed class COMJUROS : ITransacaoOrigem
    {
        public override string ToString()
        {
            return "06";
        }
    }

    public sealed class SEMJUROS : ITransacaoOrigem
    {
        public override string ToString()
        {
            return "08";
        }
    }
    public sealed class TransacaoOrigem
    {
        private TransacaoOrigem()
        {

        }

        public static ITransacaoOrigem AVISTA = new AVISTA();
        public static ITransacaoOrigem COMJUROS = new COMJUROS();
        public static ITransacaoOrigem SEMJUROS = new SEMJUROS();

    }

}
